<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
[#include "/admin/include/head.htm"]
	<script>
		var grid;
		$(function() {
			grid = $("#maingrid").ligerGrid({
				columns: [

					{display: '编号', name: 'id', align: 'center', width: 100},
					{display: '用途', name: 'action', align: 'center', width: 120},
					{display: '手机号码', name: 'phone_number', align: 'center', width: 120},
					{display: '内容', name: 'message', align: 'center', width: 350},
					{display: '发送时间', name: 'send_time', align: 'center', width: 150, isdate: "true"},
					{display: '用户ID', name: 'user_id', align: 'center', width: 100},
					{display: '用户名', name: 'userName', align: 'center', width: 150},
				], pageSize: 20, url: 'queryData.aspx', toolbar: {}, width: '100%', height: '100%', enabledSort: true
			});

			//绑定搜索按钮
			LG.search(grid);
		});

	</script>
</head>

<body style="overflow:hidden;padding:10px;">
<div id="functions">
	<div class="clearfix">
		<div style="float:left;">
			<form id="exportForm" method="post">

				<span>
					手机号码：<input type="text" onkeyup="value=value.replace(/[^(\d)]/g,'')" value="${mobilePhone }" name="mobilePhone" />
			</span>
				时间
				<input type="text" id="begin_date"  value="${begin_date }" name="begin_date"
					   class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
				-
				<input type="text" id="end_date" value="${end_date }" name="end_date"
					   class="formText WdatePicker {dateFmt:'yyyy-MM-dd'}" />
				<input type="button" class="button" value="搜索" id="search"/>
				<a href="#" id="search_btn_reset" face="Wingdings 3">清除本次搜索</a>
			</form>
		</div>
	</div>
</div>

<div id="maingrid" style="margin:0; padding:0"></div>
</body>

</html>